package com.room.service;

import com.room.mapper.SysLogMapper;
import com.room.pojo.SysLog;
import com.room.utils.UUIDTool;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * @创建人 lin
 * @创建时间 2019/10/14
 * @描述
 */
public class SysLogService {
    @Autowired
    SysLogMapper sysLogMapper;


    public void saveLog(SysLog sysLog) {
        sysLog.setLogId(UUIDTool.getUUID());
        sysLogMapper.insert(sysLog);
    }

}
